<template>
    <div>

        <chartComVue type="weight">体重</chartComVue>
        <chartComVue type="beSuger">血糖</chartComVue>
        <chartComVue type="bs">血压</chartComVue>
        <chartComVue type="hr">心率</chartComVue>
    </div>
</template>

<script setup lang='ts'>
import chartComVue from './chartCom.vue';
import { useStore } from 'vuex'
const store = useStore()
type props = {
    residentid: string
}
const propss = defineProps<props>()
store.dispatch('getHealthRecord', propss.residentid)
store.dispatch('getAllHealthRecordById', propss.residentid)
</script>

<style scoped lang='less'>

</style>